package com.itheima.leyou.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.leyou.common.dto.PageDTO;
import com.itheima.leyou.vo.BrandVO;
import com.leyou.item.dto.BrandDTO;
import com.itheima.leyou.po.Brand;


import java.util.List;

public interface BrandService extends IService<Brand> {
    BrandDTO queryBrandById(Long id);

    List<BrandDTO> queryBrandByIds(List<Long> ids);

    List<BrandDTO> queryBrandByCategoryId(Long id);

//    PageResult findPage(QueryPageBean queryPageBean);

    void addOrUpdate(BrandDTO brandDTO);

    Boolean removeByPid(Long id);

    PageDTO<BrandDTO> findPage(Integer page, Integer rows, String key);

    void updateBrand(BrandDTO brandDTO);
}
